import React from 'react'

import BaseExecuter from '../common/BaseExecuter'
import Constants from '../../common/Constants'

import DataManager from '../../datas/DataManager'

export default class HeartExecuter extends BaseExecuter {
  constructor() {
    super()
  }

  execute(action) {
    switch (action.name) {
      case 'HeartRequestTestTypeAction':
        break
      case 'HeartLoveSearchAction':
        this._searchLoveList(action)
        break
      case 'HeartLoveRequestUsersAction':
        this._requestLoveUsers(action)
        break
      case 'HeartLoveRequestRecommonedUsersAction':
        this._requestRecommenedLoveUsers(action)
        break
      case 'HeartLoveRquestSelfDataAction':
        this._requestSelfData(action)
        break
      case 'HeartLoveRquestUpdateSelfDataAction':
        this._requestUpdateSelfData(action)
        break
      case 'HeartLoveRquestCreateSelfDataAction':
        this._requestCreateSelfData(action)
        break
      case 'HeartLoveRquestOtherDataAction':
        this._requestOtherData(action)
        break
      case 'HeartLoveSendLikeUserAction':
        this._sendLikeUser(action)
        break
      case 'HeartLoveBlackLoverAction':
        this._requestBlackLover(action)
        break
      case 'HeartLoveReportLoverAction':
        this._requestReportLover(action)
        break
      case 'HeartLoveRequestChatOneAction':
        this._requestLoveChatOneList(action)
        break
      case 'HeartLoveSendChatAction':
        this._sendLoveChat(action)
        break
      case 'HeartLoveRequestQuestionListAction':
        this._sendRequestQuestionList(action)
        break
      case 'HeartLoveSendAskQuestionAction':
        this._sendAskQuestion(action)
        break
      case 'HeartRequestZJListAction':
        this._requestZJList(action)
        break
      case 'CreateConsultAction':
        this._createConsult(action)
        break
      case 'HeartRequestExpertDataAction':
        this._requestExpertData(action)
        break
      case 'HeartVolunteerSubmitAction':
        this._volunteerSubmit(action)
        break
      case 'HeartEapRequestAction':
        this._requestEapList(action)
        break
      case 'HeartRequestZJMsgCountAction':
        this._requestZJMsgCount(action)
        break
      case 'HeartSecretRequestChatOneAction':
        this._requestSecretChatOneList(action)
        break
      case 'HeartSecretSendChatAction':
        this._sendSecretChat(action)
        break
      case 'HeartRequestMsgListAction':
        this._requestZJMsgList(action)
        break
      case 'HeartVolunteerRequestPostListAction':
        this._requestVolunteerPostList(action)
        break
      case 'HeartVolunteerRequestPostContentAction':
        this._requestVolunteerPostContent(action)
        break
      case 'HeartVolunteerRequestPostContentAction':
        this._requestVolunteerPostContent(action)
        break
      case 'HeartVolunteerRequestPostContentAction':
        this._requestVolunteerPostContent(action)
        break
      case 'HeartLoveRquestDeleteSelfDataAction':
        this._requestDeleteSelfData(action)
        break
      case 'HeartEndListRequestAction':
        this._requestEndList(action)
        break
      case 'HeartEndListContentReqAction':
        this._requestEndListContent(action)
        break
      case 'HeartExpertsTodayListAction':
        this._requestExpertsTodayListAction(action)
        break
      case 'HeartJumpTestAction':
        this._requestTestURL(action)
        break
      case 'HeartLovePutMediaAction':
        this._putMedia(action)
        break
      case 'HeartLoveGetMediaAction':
        this._getMedia(action)
        break
      case 'HeartLoveGetMatchingAction':
        this._getMatchingSelfeDate(action)
        break
      case 'HeartLoveUpDateMatchingAction':
        this._upDateMatchingSelfeDate(action)
        break
      default:
        break
    }
  }

  _getModuleType() {
    return Constants.MODULE_TYPE.HEART
  }

  _requestVolunteerPostList(action) {
    this._sendRequestCommonResponse(action, 'requestVolunteerPostList')
  }

  _requestVolunteerPostContent(action) {
    this._sendRequestCommonResponse(action, 'requestVolunteerPostContent')
  }

  _sendSecretChat(action) {
    this._sendRequestCommonResponse(action, 'sendSecretChat')
  }

  _requestSecretChatOneList(action) {
    this._sendRequestCommonResponse(action, 'requestSecretChatOneList')
  }

  _sendAskQuestion(action) {
    this._sendRequestCommonResponse(action, 'sendAskQuestion')
  }

  _sendRequestQuestionList(action) {
    this._sendRequestCommonResponse(action, 'sendRequestQuestionList')
  }

  _sendLoveChat(action) {
    this._sendRequestCommonResponse(action, 'sendLoveChat')
  }

  _requestLoveChatOneList(action) {
    this._sendRequestCommonResponse(action, 'requestLoveChatOneList')
  }

  _sendLikeUser(action) {
    this._sendRequestCommon(action, 'sendLikeUser')
  }

  _requestOtherData(action) {
    this._sendRequestCommonResponse(action, 'sendRequestOtherData')
  }

  _requestCreateSelfData(action) {
    this._sendRequestCommonResponse(action, 'sendCreateSeldData')
  }

  _requestUpdateSelfData(action) {
    this._sendRequestCommonResponse(action, 'sendUpdateSelfData')
  }

  _requestDeleteSelfData(action) {
    this._sendRequestCommonResponse(action, 'sendDeleteSelfData')
  }

  _requestSelfData(action) {
    this._sendRequestCommon(action, 'sendRequestSelfData')
  }

  _requestLoveUsers(action) {
    this._sendRequestCommonResponse(action, 'sendRequestLoveUsers')
  }

  _requestRecommenedLoveUsers(action) {
    this._sendRequestCommonResponse(action, 'sendRequestRecommendedLoveUsers')
  }

  _searchLoveList(action) {
    this._sendRequestCommonResponse(action, 'searchLoveList')
  }

  _requestZJList(action) {
    this._sendRequestCommonResponse(action, 'sendRequestZJList')
  }

  _createConsult(action) {
    this._sendRequestCommonResponse(action, 'createConsult')
  }

  _requestExpertData(action) {
    this._sendRequestCommonResponse(action, 'requestExpertData')
  }

  _volunteerSubmit(action) {
    this._sendRequestCommonResponse(action, 'volunteerSubmit')
  }

  _requestEapList(action) {
    this._sendRequestCommonResponse(action, 'requestEapList')
  }

  _requestZJMsgCount(action) {
    this._sendRequestCommonResponse(action, 'requestZJMsgCount')
  }

  _requestZJMsgList(action) {
    this._sendRequestCommonResponse(action, 'requestZJMsgList')
  }

  _requestEndList(action) {
    this._sendRequestCommonResponse(action, 'requestEndList')
  }
  _requestReportLover(action) {
    this._sendRequestCommonResponse(action, 'requestReportLover')
  }
  _requestBlackLover(action) {
    this._sendRequestCommonResponse(action, 'requestBlackLover')
  }
  _requestEndListContent(action) {
    this._sendRequestCommonResponse(action, 'requestEndListContent')
  }
  _requestExpertsTodayListAction(action) {
    this._sendRequestCommonResponse(action, 'requestExpertsToday')
  }
  _requestTestURL(action) {
    this._sendRequestCommonResponse(action, 'requestTextURL')
  }
  _putMedia(action) {
    this._sendRequestCommonResponse(action, 'putMedia')
  }
  _getMedia(action) {
    this._sendRequestCommonResponse(action, 'getMedia')
  }
  _getMatchingSelfeDate(action) {
    this._sendRequestCommonResponse(action, 'getMatchingSelfeDate')
  }
  _upDateMatchingSelfeDate(action) {
    this._sendRequestCommonResponse(action, 'upDateMatchingSelfeDate')
  }
}
